# Contributor: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
pkgname=wlr-protocols
pkgver=0_git20240126
_commit=2b8d43325b7012cc3f9b55c08d26e50e42beac7d
pkgrel=0
pkgdesc="Wayland protocol extensions for wlroots and other compositors"
url="https://gitlab.freedesktop.org/wlroots/wlr-protocols"
arch="noarch"
license="MIT"
source="https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/archive/$_commit/wlr-protocols-$_commit.tar.gz"
makedepends="wayland-dev"
builddir="$srcdir/wlr-protocols-$_commit"

check() {
	make check
}

package() {
	DESTDIR="$pkgdir" make install
}


sha512sums="
1d6ae4a7befc7dc3fa8a3964f63875c71e68b08292670aac53ae66bc8bebd7d872834aefeb99cdd6f4f63dea2d1b21dae801042cc2fad76f8518044d18322e47  wlr-protocols-2b8d43325b7012cc3f9b55c08d26e50e42beac7d.tar.gz
"
